package com.shire.shire_interface.dao.marketing;

import com.shire.shire_interface.model.marketing.WxActiveQrcodeRecord;
import com.shire.shire_interface.model.marketing.WxActiveQrcodeRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxActiveQrcodeRecordDao {
    long countByExample(WxActiveQrcodeRecordExample example);

    int deleteByExample(WxActiveQrcodeRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxActiveQrcodeRecord record);

    int insertSelective(WxActiveQrcodeRecord record);

    List<WxActiveQrcodeRecord> selectByExample(WxActiveQrcodeRecordExample example);

    WxActiveQrcodeRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxActiveQrcodeRecord record, @Param("example") WxActiveQrcodeRecordExample example);

    int updateByExample(@Param("record") WxActiveQrcodeRecord record, @Param("example") WxActiveQrcodeRecordExample example);

    int updateByPrimaryKeySelective(WxActiveQrcodeRecord record);

    int updateByPrimaryKey(WxActiveQrcodeRecord record);
}